import { createApp } from 'vue'
import { createPinia } from 'pinia'
import { Button } from 'vant';
// 2. 引入组件样式
import 'vant/lib/index.css';

// const app = createApp();

// 3. 注册你需要的组件
// app.use(Button);

import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// import App from './App.vue'

const app = createApp(App)

app.use(ElementPlus)
// app.mount('#app')
import './assets/main.css'

// const app = createApp(App)

app.use(createPinia())
app.use(router,Button)

app.mount('#app')
